RE: Need help to forward emails to my java function

2009-09-15 Thread Arora, Sumit
Sorry my subject was not descriptive... From: Daniel V. Reinhardt [mailto:crypto...@yahoo.com] Sent: Tuesday, September 15, 2009 7:02 PM To: Arora, Sumit; Postfix users Subject: Re: Need help to forward emails Hi All, I need to execute my code when I receive email on my postfix smtp server.

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 has

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 whi

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 i

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

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 : > kazabe wrote: > >> My boss was send the last friday aprox 50 messages.  He asked me about >>

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 hea

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 l

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 conc

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: 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: 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]: f

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: 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

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 serv

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: 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 p

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 over:

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 has

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 sche

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 conn

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 n

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 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 curre

Re: From Altered After Mail Accepted

2009-09-15 Thread Martijn de Munnik
On Tue, 15 Sep 2009 16:05:42 +0100, Mark Goodge wrote: > 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" addres

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 all

Re: From Altered After Mail Accepted

2009-09-15 Thread Martijn de Munnik
On Tue, 15 Sep 2009 10:59:20 -0400, 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 cu

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 and

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 permit

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 (re-send)

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 m

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: 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 > a google on this showed me the following: > > relayhost = smtp.example.com:25 > smtp_sasl_auth_enable=yes > s

Re: relayhost and authentication

2009-09-15 Thread John Peach
On Tue, 15 Sep 2009 16:06:54 +0200 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/p

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= /etc/postfix/sasl_pa

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

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: >>>

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

Re queue failed email from deferred mail

2009-09-15 Thread Vernon A. Fort
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 (re-send) the email. I'm thinking of using postca

Re: Choose transport from sender domain?

2009-09-15 Thread Barney Desmond
2009/9/15 Brice Figureau : > I know how to define a transport to do that, but the next-hop is chosen > by looking-up the destination domain (which makes perfectly sense) and > not the source domain. > > How is it possible to chose the transport from the source domain? > Is multi-instance my only ch

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 e

Re: Backscatter on Gateway Mail Servers

2009-09-15 Thread Stan Hoeppner
Stan Hoeppner put forth on 9/15/2009 5:44 AM: > 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 incor

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

Re: Backscatter on Gateway Mail Servers

2009-09-15 Thread ib
Dan Slay schrieb: 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. [...] Hello Dan and others Has anybody experiences with the sendmail milter 'scam-backscatter' by Eland Systems? Maybe it may solve your pr

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

Re: Backscatter on Gateway Mail Servers

2009-09-15 Thread Martijn de Munnik
On Tue, 15 Sep 2009 11:12:52 +0100, Mark Goodge wrote: > 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 differe

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 rea

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 c

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 fo

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 SM

Re: Backscatter on Gateway Mail Servers

2009-09-15 Thread Martijn de Munnik
On Tue, 15 Sep 2009 09:45:53 +0100, 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, therefore I > don't know what the best way forward would be? The

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

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