I don't know what you try to achieve.. if you /dev/null them (however you would 
like to do that),
the mail is still sent to your box. (and then deleted).

Normally your server should reject the mails to unknown recipients in the 
beginning of the smtp dialog, which is the
prefered way to do it. (This does not work woith catchalls, cause catchalls are 
evil)

So what are you trying to setup in your alias table? The right way is: have 
every legal email
address in there and reject (not bounce) all other addresses.

so have sth like in postfix main.cf:

...
virtual_alias_maps = mysql:/etc/postfix/virtual.mysql
alias_maps = mysql:/etc/postfix/aliases.mysql
...
smtpd_recipient_restrictions =
                ...
                permit_mynetworks,
                permit_sasl_authenticated,
                reject_unauth_destination,
                ...


Jan

> IDIOT ASSISTANCE REQUEST!

> Hi, I am successfully using web-cyradm+postfix+cyrus-imap+SASL+Mysql on a
> variety of Linux boxes, mostly running Ubuntu 6.06LTS. This system works well
> for me and I have not upgraded past 0.54 yet. I generally have ten or more
> virtual domains receiving mail on a server.

> Recently I have started to be mail-bombed in this way; some fool out there is
> sending spam with return addresses in this form

> [EMAIL PROTECTED]

> The emails bounce to my server, which rejects them. However the volume is 
> large
> and I would prefer to simply /dev/null all email with a recipient that begins
> with the letters 'triyant'.

> Postfix 2.2.10 allows you to use regexp in the alias table, but I don't know 
> how
> to do it. I tried creating an alias 'triyant^' (without the quotes) but that
> does not work. If I alias a specific address, like 'triyantooopl' to 
> /dev/null,
> it works fine, but since there are billions of variants (all beginning with
> 'triyant') a regexp is obviously the way to go.

> I would really be grateful for any help. What I want is probably really 
> simple.
> (maybe instead of 'triyant^' I should say 'regexp:triyant^' ?)

> Thanks in advance.

> /Larry

> ----------------------------------------------------------------
> This message was sent from the [EMAIL PROTECTED] Servers.
> _______________________________________________
> This mailing list is hosted and supported
> by bit-heads GmbH | http://www.bit-heads.ch

> _______________________________________________
> Web-cyradm mailing list
> [email protected]
> http://www.web-cyradm.org/mailman/listinfo/web-cyradm


-- 
Der Zweck heiligt die Mittel. Dies muß sich der liebe Gott gedacht haben, als 
er das Weib erschuf. 
Thomas Niederreuther 

Mit freundlichen Grüßen
Jan Scholten
mailto:[EMAIL PROTECTED]




_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to