Backscatter on Gateway Mail Servers

2009-09-15 Thread Dan Slay
I'm looking for some information on preventing the sending of backscatter from a Postfix gateway mail server. The server itself does not and will not hold a recipient list, therefore I don't know what the best way forward would be? The server accepts for a number of different domains. Any advice

Re: Alias members based on LDAP attribute value

2009-09-15 Thread Edgar Fuß
You don't need a new LDAP tree, just a suitable object endowed with the right attributes. Yes, sure. But we wouldn't like to intermix alias information with user, group or host information. Sorry, I don't do LDAP schema design, but you should be able to Google some examples along these

Re: Backscatter on Gateway Mail Servers

2009-09-15 Thread Ansgar Wiechers
On 2009-09-15 Dan Slay wrote: I'm looking for some information on preventing the sending of backscatter from a Postfix gateway mail server. The server itself does not and will not hold a recipient list, Then you can't avoid sending backscatter. Period. RFC 2821 clearly states: | If an SMTP

Re: Backscatter on Gateway Mail Servers

2009-09-15 Thread Dan Slay
Thanks, that's what I have read. Which is why this make things more awkward. I cannot see that holding a recipient list is a solution. If, for instance, you relay for thousands of domains all going to different MTA's that hold each individual domains recipient list, its not really that straight

Choose transport from sender domain?

2009-09-15 Thread Brice Figureau
Hi, I have a postfix (2.5.5) setup used both to send/receive our company e-mail and at the same time a few mailing lists (managed by sympa on another domain). Let's say I want to separate both outbound traffic, by binding the smtp sender daemon to a different IP address depending on if I send

Re: Backscatter on Gateway Mail Servers

2009-09-15 Thread Mark Goodge
Dan Slay wrote: Thanks, that's what I have read. Which is why this make things more awkward. I cannot see that holding a recipient list is a solution. If, for instance, you relay for thousands of domains all going to different MTA's that hold each individual domains recipient list, its not

Re: Backscatter on Gateway Mail Servers

2009-09-15 Thread Robert Schetterer
Mark Goodge schrieb: Dan Slay wrote: Thanks, that's what I have read. Which is why this make things more awkward. I cannot see that holding a recipient list is a solution. If, for instance, you relay for thousands of domains all going to different MTA's that hold each individual domains

Re: Backscatter on Gateway Mail Servers

2009-09-15 Thread Stan Hoeppner
Ansgar Wiechers put forth on 9/15/2009 4:28 AM: Then you can't avoid sending backscatter. Period. RFC 2821 clearly states: | If an SMTP server has accepted the task of relaying the mail and | later finds that the destination is incorrect or that the mail | cannot be delivered for some

Need help to forward emails

2009-09-15 Thread Arora, Sumit
Hi All, I need to execute my code when I receive email on my postfix smtp server. Sorry I couldn't understand what Wietse said: You can pipe-to-command with ~/.forward (see man 5 aliases) and with the pipe(8) delivery agent (see man 8 pipe). Can anybody tell me what I can do if I want to

Re: Need help to forward emails

2009-09-15 Thread Daniel V. Reinhardt
Hi All, I need to execute my code when I receive email on my postfix smtp server. Sorry I couldn't understand what Wietse said: You can pipe-to-command with ~/.forward (see man 5 aliases) and with the pipe(8) delivery agent (see man 8 pipe). Can anybody tell me what I can do if I want to

Re: Backscatter on Gateway Mail Servers

2009-09-15 Thread egoitz
Don't bounce you're overquota messages... just reject them :) at mail gateway level at smtp dialogue, this way you will be saving resources on scanning and later perhaps on bouncing them from any place :) http://postfixquotareject.ramattack.net :) :) Mark Goodge schrieb: Dan Slay wrote:

can't seem to white list an address

2009-09-15 Thread Stan Hoeppner
I'd like to keep copies of all the spam coming into the address mentioned below. I thought all that I needed was an OK in the access file to force acceptance of all mail to this address. My attempt at whitelisting the address is not working. All my anti-spam measures are still whacking spam

relayhost and authentication

2009-09-15 Thread K bharathan
if the relay host has got a username and password how can i specify these in the main.cf a google on this showed me the following: relayhost = smtp.example.com:25 smtp_sasl_auth_enable=yes smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd smtp_sasl_security_options=

Re: relayhost and authentication

2009-09-15 Thread John Peach
On Tue, 15 Sep 2009 16:06:54 +0200 K bharathan kbhara...@gmail.com wrote: if the relay host has got a username and password how can i specify these in the main.cf a google on this showed me the following: relayhost = smtp.example.com:25 smtp_sasl_auth_enable=yes

Re: relayhost and authentication

2009-09-15 Thread Stan Hoeppner
K bharathan put forth on 9/15/2009 9:06 AM: if the relay host has got a username and password how can i specify these in the main.cf http://main.cf a google on this showed me the following: relayhost = smtp.example.com:25 http://smtp.example.com:25 smtp_sasl_auth_enable=yes

Re: relayhost and authentication

2009-09-15 Thread Ansgar Wiechers
On 2009-09-15 K bharathan wrote: if the relay host has got a username and password how can i specify these in the main.cf a google on this showed me the following: relayhost = smtp.example.com:25 smtp_sasl_auth_enable=yes smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd

Re: can't seem to white list an address

2009-09-15 Thread Noel Jones
On 9/15/2009 8:58 AM, Stan Hoeppner wrote: I'd like to keep copies of all the spam coming into the address mentioned below. I thought all that I needed was an OK in the access file to force acceptance of all mail to this address. My attempt at whitelisting the address is not working. All my

Re: Re queue failed email from deferred mail

2009-09-15 Thread Noel Jones
On 9/15/2009 8:02 AM, Vernon A. Fort wrote: I had an internal server problem which ended up with 1000 or so messages sitting in the mail queue with a HOP-COUNT exceeded. These are good emails so i need to find a way to remove most of the Received lines in the message header and re-queue

From Altered After Mail Accepted

2009-09-15 Thread wiskbroom
I am seeing a few spams coming through with a from address (seen on my postfix logs) that does not match the From address shown on my users Outlook. In fact my users are seeing a From address as their own, something that my postfix server currently does not allow using mynetworks and

Re: Re queue failed email from deferred mail

2009-09-15 Thread Vernon A. Fort
Noel Jones wrote: On 9/15/2009 8:02 AM, Vernon A. Fort wrote: I had an internal server problem which ended up with 1000 or so messages sitting in the mail queue with a HOP-COUNT exceeded. These are good emails so i need to find a way to remove most of the Received lines in the message header

Re: From Altered After Mail Accepted

2009-09-15 Thread Martijn de Munnik
On Tue, 15 Sep 2009 10:59:20 -0400, wiskbr...@hotmail.com wrote: I am seeing a few spams coming through with a from address (seen on my postfix logs) that does not match the From address shown on my users Outlook. In fact my users are seeing a From address as their own, something that my

Re: From Altered After Mail Accepted

2009-09-15 Thread Mark Goodge
wiskbr...@hotmail.com wrote: I am seeing a few spams coming through with a from address (seen on my postfix logs) that does not match the From address shown on my users Outlook. In fact my users are seeing a From address as their own, something that my postfix server currently does not allow

RE: From Altered After Mail Accepted

2009-09-15 Thread wiskbroom
wiskbr...@hotmail.com wrote: I am seeing a few spams coming through with a from address (seen on my postfix logs) that does not match the From address shown on my users Outlook. In fact my users are seeing a From address as their own, something that my postfix server currently does not

Re: can't seem to white list an address

2009-09-15 Thread Stan Hoeppner
Ahhh, is this one of the reasons some folks put 'all' of their restrictions under smtpd_recipient_restrictions (only have to list things once)? Thanks Noel. -- Stan Noel Jones put forth on 9/15/2009 9:27 AM: On 9/15/2009 8:58 AM, Stan Hoeppner wrote: I'd like to keep copies of all the spam

Re: From Altered After Mail Accepted

2009-09-15 Thread Brian Evans - Postfix List
wiskbr...@hotmail.com wrote: I am seeing a few spams coming through with a from address (seen on my postfix logs) that does not match the From address shown on my users Outlook. In fact my users are seeing a From address as their own, something that my postfix server currently does not allow

smtpd_recipient_limit errors unlogged

2009-09-15 Thread LuKreme
When trying to send a message with 46 recipients in the Bcc I get an error from my MUA The server mail.covisp.net did not recognize the recipients. When I look at the maillog on the server, the only thing I see logged is: Sep 15 10:10:20 mail postfix/smtpd[8201]: connect from *home

Re: Alias members based on LDAP attribute value

2009-09-15 Thread Victor Duchovni
On Tue, Sep 15, 2009 at 11:08:55AM +0200, Edgar Fuß wrote: You don't need a new LDAP tree, just a suitable object endowed with the right attributes. Yes, sure. But we wouldn't like to intermix alias information with user, group or host information. Sorry, I don't do LDAP schema design,

Relay Recipients

2009-09-15 Thread Jeff Grossman
I am running Postfix 2.5.6 as a front-end gateway to an Exchange server and a Mailman server. I currently have about 25 domains that I receive mail for. Of those 25, 23 of them forward to the Exchange server and the other 2 forward to the Mailman server. I was using a check_recipient_access

Problem starting Postfix: mysql_alias.cf, line 1: missing '='

2009-09-15 Thread Jose Carlos Madrid
Hi, I am just dealing with my first Postfix installation. After following a few tutorials, I’m still not able to start the Postfix server. I looked for solutions in many forums, but I cannot find this problem and no one could help me. Tailing the log files there is an error coming over and

Re: Problem starting Postfix: mysql_alias.cf, line 1: missing '='

2009-09-15 Thread Rob Foehl
On Tue, 15 Sep 2009, Jose Carlos Madrid wrote: Sep 14 11:25:30 hostname postfix/cleanup[30095]: fatal: /etc/postfix/mysql_alias.cf, line 1: missing '=' after attribute name: ??h It appears you have saved mysql_alias.cf in a UTF-16 encoding. Don't do that; Postfix configuration files are

Re: can't seem to white list an address

2009-09-15 Thread Noel Jones
On 9/15/2009 11:01 AM, Stan Hoeppner wrote: Ahhh, is this one of the reasons some folks put 'all' of their restrictions under smtpd_recipient_restrictions (only have to list things once)? Yes, exactly. -- Noel Jones

Re: Relay Recipients

2009-09-15 Thread Noel Jones
On 9/15/2009 12:34 PM, Jeff Grossman wrote: I am running Postfix 2.5.6 as a front-end gateway to an Exchange server and a Mailman server. I currently have about 25 domains that I receive mail for. Of those 25, 23 of them forward to the Exchange server and the other 2 forward to the Mailman

Re: messages lost

2009-09-15 Thread Ivan Stepaniuk
kazabe wrote: My boss was send the last friday aprox 50 messages. He asked me about why not all the messages was correctly received by the destination account (both in the same domain and server). I check the logs, and only found 5 messages sended by him. but the sended folder in the my boss

Postfix mail headers for locally sent mail (sendmail command)

2009-09-15 Thread Steve Fatula
For postfix mail sent from cron, or other sendmail command line mail, sent to a local user on the same server, I am getting the following received header: Received: by host112.mydomain.com (Postfix, from userid 0) id 4A8E114B8104; Tue, 15 Sep 2009 03:53:19 -0500 (CDT) That is the ONLY received

RE: Problem starting Postfix: mysql_alias.cf, line 1: missing '='

2009-09-15 Thread Jose Carlos Madrid
Thank you Rob, you were right. I edited the file in Windows. I didn't realize. But after save it with vi editor It still keeps giving me this error. Notice it is not (line 1: missing '=' after attribute name: ??u) anymore but similar. Sep 15 23:26:01 r25841 postfix/trivial-rewrite[31130]:

RE: Problem starting Postfix: mysql_alias.cf, line 1: missing '='

2009-09-15 Thread Rob Foehl
On Tue, 15 Sep 2009, Jose Carlos Madrid wrote: you were right. I edited the file in Windows. I didn't realize. But after save it with vi editor It still keeps giving me this error. Notice it is not (line 1: missing '=' after attribute name: ??u) anymore but similar. Please don't top post.

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-15 Thread mouss
Steve Fatula a écrit : For postfix mail sent from cron, or other sendmail command line mail, sent to a local user on the same server, I am getting the following received header: Received: by host112.mydomain.com (Postfix, from userid 0) id 4A8E114B8104; Tue, 15 Sep 2009 03:53:19 -0500

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-15 Thread Steve Fatula
Why? What problem are you trying to solve. if you inist, force it to go to smtpd by using a content_filter in the pickup service in master.cf. The problem to be solved is that various filters we use, spamassassin, dcc, etc., use the receive from header in order to use whitelists and such

Re: smtpd_recipient_limit errors unlogged

2009-09-15 Thread Sahil Tandon
On Tue, 15 Sep 2009, LuKreme wrote: When trying to send a message with 46 recipients in the Bcc I get an error from my MUA The server mail.covisp.net did not recognize the recipients. When $smtpd_recipient_limit is exceeded, Postfix says: 452 4.5.3 Error: too many recipients When I look

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-15 Thread Ansgar Wiechers
On 2009-09-15 Steve Fatula wrote: Why? What problem are you trying to solve. if you inist, force it to go to smtpd by using a content_filter in the pickup service in master.cf. The problem to be solved is that various filters we use, spamassassin, dcc, etc., use the receive from header in

Re: messages lost

2009-09-15 Thread kazabe
yes, i check all the queues. dont appear nothing. «Existen dos cosas infinitas: el universo y la estupidez humana... y no estoy muy seguro de la primera» : Albert Einstein 2009/9/15 Ivan Stepaniuk i...@albafotonica.com: kazabe wrote: My boss was send the last friday aprox 50 messages.  He

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-15 Thread Steve Fatula
Your concept is b0rken. Received headers can be forged just as well as any other header. Not in my case. That is already accounted for. But irrelevant since that was not the question. If you want to whitelist by sending MTA, why don't you just whitelist those MTAs via a check_sender_access or

Re: smtpd_recipient_limit errors unlogged

2009-09-15 Thread Sahil Tandon
On Tue, 15 Sep 2009, Sahil Tandon wrote: Is there some other place I could have looked to see that problem in the logs? There is no 'problem' as far as Postfix is concerned, so nothing is logged. After sending the 452 to the client, Postfix retains a buffer of the 25 recipients it *did*

Re: Postfix mail headers for locally sent mail (sendmail command)

2009-09-15 Thread Noel Jones
On 9/15/2009 7:14 PM, Steve Fatula wrote: Your concept is b0rken. Received headers can be forged just as well as any other header. Not in my case. That is already accounted for. But irrelevant since that was not the question. If you want to whitelist by sending MTA, why don't you just

How did I get this [Sender address rejected: User unknown in virtual alias table] and how do I get rid of it?

2009-09-15 Thread Paul Beard
Small domain, just a home network with a postfix server to keep the baddies out. But for some reason, outbound mail is failing for one user and I can't quite make out why. She is in a virtual domain [example.org below] that should forward to her home mail [home.net, let's call it]. This