valid recipient list with smtprelay

View: New views
10 Messages — Rating Filter:   Alert me  

valid recipient list with smtprelay

by Dale Qualls-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If I have a server running (1.26) that simply does smtprelay, can I
place a user list somewhere so it will simply drop messages to users NOT
in the list?  Dictionary attacks are killing me.

There isn't anything in MailRoot/custdomains except for the tab file for
the relay.  It doesn't appear that smtp filtering with the pre or post
tab files have syntax to handle such a thing.

Any suggestions?  Cumbersome as it may be, I don't have such a large
bunch of users that I can't easily maintain this list of allowed recipients.

Thanks!
_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

Parent Message unknown Re: valid recipient list with smtprelay

by CLEMENT Francis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


A simple xmail filter that check destination emails from a list could do the
job.

Francis

>-----Message d'origine-----
>De : xmail-bounces@...
>[mailto:xmail-bounces@...]De la part de Dale
>Envoyé : mercredi 21 octobre 2009 17:36
>À : xmail@...
>Objet : [xmail] valid recipient list with smtprelay
>
>
>If I have a server running (1.26) that simply does smtprelay, can I
>place a user list somewhere so it will simply drop messages to
>users NOT
>in the list?  Dictionary attacks are killing me.
>
>There isn't anything in MailRoot/custdomains except for the
>tab file for
>the relay.  It doesn't appear that smtp filtering with the pre or post
>tab files have syntax to handle such a thing.
>
>Any suggestions?  Cumbersome as it may be, I don't have such a large
>bunch of users that I can't easily maintain this list of
>allowed recipients.
>
>Thanks!
>_______________________________________________
>xmail mailing list
>xmail@...
>http://xmailserver.org/mailman/listinfo/xmail
>
_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

Re: valid recipient list with smtprelay

by Dale Qualls-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ahhh, simple for you maybe, Francis :) 

I was hoping something was already in existence.  I'll go start trolling filters and see if I can put something together.  I'm not a coder but I'll give it the old college try.

Thanks!

CLEMENT Francis wrote:
A simple xmail filter that check destination emails from a list could do the
job.

Francis

  
-----Message d'origine-----
De : xmail-bounces@...
[xmail-bounces@...]De la part de Dale
Envoyé : mercredi 21 octobre 2009 17:36
À : xmail@...
Objet : [xmail] valid recipient list with smtprelay


If I have a server running (1.26) that simply does smtprelay, can I 
place a user list somewhere so it will simply drop messages to 
users NOT 
in the list?  Dictionary attacks are killing me.

There isn't anything in MailRoot/custdomains except for the 
tab file for 
the relay.  It doesn't appear that smtp filtering with the pre or post 
tab files have syntax to handle such a thing.

Any suggestions?  Cumbersome as it may be, I don't have such a large 
bunch of users that I can't easily maintain this list of 
allowed recipients.

Thanks!
_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

    
_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail


  

_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

R: Re: valid recipient list with smtprelay

by sergio.casagrande :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

.... or you could use cmdalias
Bye
Sergio

-----Original Message-----
From: Dale <dale@...>
Date: Wed, 21 Oct 2009 11:30:00
To: XMail Users Mailing List<xmail@...>
Subject: Re: [xmail] valid recipient list with smtprelay

_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

Re: R: Re: valid recipient list with smtprelay

by Davide Libenzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 21 Oct 2009, Sergio Casagrande wrote:

> .... or you could use cmdalias


That  ^^



- Davide


_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

Re: R: Re: valid recipient list with smtprelay

by Dale Qualls-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does this apply to customdomains?  The docs don't specify it.

Given the following:
custdomain (doing an smtprelay) of bob.com
bob.com.tab exists in /MailRoot/custdomains/

The docs say that a directory will be created in cmdaliases but that isn't the case here. 
***SNIP***
For every handled domain (listed inside 'domains.tab') a directory with the same domain name is created inside the 'cmdaliases' subdirectory. This directory is automatically created and removed when you add/remove domains through the CTRL protocol (or 'CtrlClnt').
***SNIP***

My cmdaliases directory doesn't have anything in it.  Can I manually create it?

If I do create it, it looks like I then would need a file inside of the /MailRoot/cmdaliases/bob/ directory named "dale.tab".

Such as: /MailRoot/cmdaliases/bob/dale.tab

In the dale.tab file I would need somethinglike this??
"smtprelay"[TAB]"theinternalipaddressofmymailserver" with a [newline] after it?

If this is the case, will anything WITHOUT a matching .tab file be dumped by the XMail server and not relay?

Thanks!


Davide Libenzi wrote:
On Wed, 21 Oct 2009, Sergio Casagrande wrote:

  
.... or you could use cmdalias
    


That  ^^



- Davide


_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail


  

_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

Re: R: Re: valid recipient list with smtprelay

by Davide Libenzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 21 Oct 2009, Dale wrote:

> Does this apply to customdomains?  The docs don't specify it.
>
> Given the following:
> custdomain (doing an smtprelay) of bob.com
> bob.com.tab exists in /MailRoot/custdomains/
>
> The docs say that a directory will be created in cmdaliases but that isn't the case here. 
> ***SNIP***
> For every handled domain (listed inside 'domains.tab') a directory with the same domain name is created inside the
> 'cmdaliases' subdirectory. This directory is automatically created and removed when you add/remove domains through
> the CTRL protocol (or 'CtrlClnt').
> ***SNIP***
>
> My cmdaliases directory doesn't have anything in it.  Can I manually create it?
>
> If I do create it, it looks like I then would need a file inside of the /MailRoot/cmdaliases/bob/ directory named
> "dale.tab".
>
> Such as: /MailRoot/cmdaliases/bob/dale.tab
>
> In the dale.tab file I would need somethinglike this??
>
> "smtprelay"[TAB]"theinternalipaddressofmymailserver" with a [newline] after it?
>
> If this is the case, will anything WITHOUT a matching .tab file be dumped by the XMail server and not relay?
You create a directory inside 'cmdaliases' with the name of the domain
(lowercase). Inside such directory you create as many .tab files as you
have accounts.
So for a davidel@... account, you'd have:

        cmdaliases
                xmailserver.org
                        davidel.tab



- Davide


_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

Re: R: Re: valid recipient list with smtprelay

by Dale Qualls-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Interesting.  The flexibility of XMail never ceases to amaze me.

Final question:

I assume the .tab file need to have forwarding info in it.  Or does it just need to exist.  Could I simply #touch davidel.tab to create the file or do I still need
"smtprelay"[TAB]"theinternalipaddressofmymailserver" with a [newline] after it in the davidel.tab file
Thanks again Davide!

Davide Libenzi wrote:
On Wed, 21 Oct 2009, Dale wrote:

  
Does this apply to customdomains?  The docs don't specify it.

Given the following:
custdomain (doing an smtprelay) of bob.com
bob.com.tab exists in /MailRoot/custdomains/

The docs say that a directory will be created in cmdaliases but that isn't the case here. 
***SNIP***
For every handled domain (listed inside 'domains.tab') a directory with the same domain name is created inside the
'cmdaliases' subdirectory. This directory is automatically created and removed when you add/remove domains through
the CTRL protocol (or 'CtrlClnt').
***SNIP***

My cmdaliases directory doesn't have anything in it.  Can I manually create it?

If I do create it, it looks like I then would need a file inside of the /MailRoot/cmdaliases/bob/ directory named
"dale.tab".

Such as: /MailRoot/cmdaliases/bob/dale.tab

In the dale.tab file I would need somethinglike this??

"smtprelay"[TAB]"theinternalipaddressofmymailserver" with a [newline] after it?

If this is the case, will anything WITHOUT a matching .tab file be dumped by the XMail server and not relay?
    

You create a directory inside 'cmdaliases' with the name of the domain 
(lowercase). Inside such directory you create as many .tab files as you 
have accounts.
So for a davidel@... account, you'd have:

	cmdaliases
		xmailserver.org
			davidel.tab



- Davide

  

_______________________________________________ xmail mailing list xmail@... http://xmailserver.org/mailman/listinfo/xmail

_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

Re: R: Re: valid recipient list with smtprelay

by Davide Libenzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 27 Oct 2009, Dale wrote:

> Interesting.  The flexibility of XMail never ceases to amaze me.
>
> Final question:
>
> I assume the .tab file need to have forwarding info in it.  Or does it just need to exist.  Could I simply #touch
> davidel.tab to create the file or do I still need
>
> "smtprelay"[TAB]"theinternalipaddressofmymailserver" with a [newline] after it in the davidel.tab file

If you simply `touch` the file, all your email for that account will be lost.
I'm not sure you want to do that :)



- Davide


_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

Re: R: Re: valid recipient list with smtprelay

by Dale Qualls-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hehe, yep.  That would be a bad thing.

Thanks Davide!

Davide Libenzi wrote:
On Tue, 27 Oct 2009, Dale wrote:

  
Interesting.  The flexibility of XMail never ceases to amaze me.

Final question:

I assume the .tab file need to have forwarding info in it.  Or does it just need to exist.  Could I simply #touch
davidel.tab to create the file or do I still need

"smtprelay"[TAB]"theinternalipaddressofmymailserver" with a [newline] after it in the davidel.tab file
    

If you simply `touch` the file, all your email for that account will be lost.
I'm not sure you want to do that :)



- Davide

  

_______________________________________________ xmail mailing list xmail@... http://xmailserver.org/mailman/listinfo/xmail

_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail