Re: mail to domain bounced, to hostname accepted

2011-11-28 Thread Reindl Harald
Am 28.11.2011 06:26, schrieb Tim Dunphy: > Thanks Noel, > > I tried altering the transport table I am using in the hopes of resolving > the situation. > > > > [root@mail ~]# grep CC2C124F9F /var/log/maillog > Nov 28 00:21:36 mail postfix/smtpd[18192]: CC2C124F9F: > client=localhost[127.0.0

Re: mail to domain bounced, to hostname accepted

2011-11-28 Thread Noel Jones
On 11/27/2011 11:26 PM, Tim Dunphy wrote: > Thanks Noel, > > I tried altering the transport table I am using in the hopes of resolving > the situation. > > > > [root@mail ~]# grep CC2C124F9F /var/log/maillog > Nov 28 00:21:36 mail postfix/smtpd[18192]: CC2C124F9F: > client=localhost[127.0.0.

MUA/Smtp client/script to send mails via a Postfix relay server

2011-11-28 Thread Roger Goh
Quite desperate & sorry if this is OT. I have a Linux RHES 4.5 box that's on the same subnet as my Postfix box. For security reasons, I'm not allowed to ftp/scp/sftp files between this box & the Postfix server. I have the following Perl script which I wanted to use to mail (& attach files) out t

Re: MUA/Smtp client/script to send mails via a Postfix relay server

2011-11-28 Thread Noel Jones
On 11/28/2011 9:40 AM, Roger Goh wrote: > a) is there an MUA (mailx, mutt, sendmail) that would enable me to > perform this same function of pointing to the Postfix server & attach > a file to be mailed out? Kindly provide the full syntax/example. > If Postfix runs on this RHES 4.6 box

Re: How to obtain the message.ID from postfix?

2011-11-28 Thread Vincenzo Romano
2011/11/26 Wietse Venema : > Vincenzo Romano: >> 2011/11/26 Wietse Venema : >> > Vincenzo Romano: >> >> 2011/11/25 Wietse Venema : >> >> > The Postfix sendmail command creates a temporary queue file that >> >> > is deleted as soon as the local mail pickup daemon has read the >> >> > file. So, that

Re: How to obtain the message.ID from postfix?

2011-11-28 Thread Wietse Venema
Vincenzo Romano: > The point is that postfix/smtp is not logging the Message-ID along > with the other details it logs. > Is there a way to ask postfix/smtp to log also the Message-ID? If you submit over port 25, then the SMTP server provides the queue ID in the end-of-data reply. When you searc

Re: How to obtain the message.ID from postfix?

2011-11-28 Thread Vincenzo Romano
2011/11/28 Wietse Venema : > Vincenzo Romano: >> The point is that postfix/smtp is not logging the Message-ID along >> with the other details it logs. >> Is there a way to ask postfix/smtp to log also the Message-ID? > > If you submit over port 25, then the SMTP server provides the queue > ID in th

Re: How to obtain the message.ID from postfix?

2011-11-28 Thread Viktor Dukhovni
On Mon, Nov 28, 2011 at 06:17:30PM +0100, Vincenzo Romano wrote: > 2011/11/28 Wietse Venema : > > Vincenzo Romano: > >> The point is that postfix/smtp is not logging the Message-ID along > >> with the other details it logs. > >> Is there a way to ask postfix/smtp to log also the Message-ID? > > >

Switch off Postfix filters

2011-11-28 Thread Alfredo Saldanha
Dear, I'd like to know if is there some way to disable automatic or manually Postfix filters in case of failure (overload) or something. I'm asking this because I was an incident where, under an overload of messages, I had problems with my mx performance (very high CPU load and memory usage) t

Re: Switch off Postfix filters

2011-11-28 Thread Wietse Venema
Alfredo Saldanha: > Dear, > > I'd like to know if is there some way to disable automatic or manually > Postfix filters in case of failure (overload) or something. > I'm asking this because I was an incident where, under an overload of > messages, I had problems with my mx performance (very high

Re: How to obtain the message.ID from postfix?

2011-11-28 Thread Vincenzo Romano
2011/11/28 Viktor Dukhovni : > On Mon, Nov 28, 2011 at 06:17:30PM +0100, Vincenzo Romano wrote: > >> 2011/11/28 Wietse Venema : >> > Vincenzo Romano: >> >> The point is that postfix/smtp is not logging the Message-ID along >> >> with the other details it logs. >> >> Is there a way to ask postfix/sm

Re: Switch off Postfix filters

2011-11-28 Thread Noel Jones
On 11/28/2011 1:04 PM, Wietse Venema wrote: > Alfredo Saldanha: >> Dear, >> >> I'd like to know if is there some way to disable automatic or manually >> Postfix filters in case of failure (overload) or something. >> I'm asking this because I was an incident where, under an overload of >> messages

Re: MUA/Smtp client/script to send mails via a Postfix relay server

2011-11-28 Thread Jeroen Geilman
On 2011-11-28 16:40, Roger Goh wrote: Quite desperate& sorry if this is OT. I have a Linux RHES 4.5 box that's on the same subnet as my Postfix box. For security reasons, I'm not allowed to ftp/scp/sftp files between this box& the Postfix server. I have the following Perl script which I want

Re: mail to domain bounced, to hostname accepted

2011-11-28 Thread Tim Dunphy
> that domain MUST NOT be listed in transport_maps. Remove it. > transport_maps overrides postfix internal routing decisions; you've > told postfix to deliver that domain via smtp to the specified > address, causing a loop. Thank you indeed. Once I removed the domain from the transport table, I

Re: MUA/Smtp client/script to send mails via a Postfix relay server

2011-11-28 Thread Roger Goh
Yes, understand the syntax/example mutt & nail that Jeroen & Noel provided but sendmail.cf will need to be configured. I got the following script which someone has tested working on his postfix but I have a problem with RCPT TO: (need someone to tell me how to obtain a valid address for RCPT TO)

Re: MUA/Smtp client/script to send mails via a Postfix relay server

2011-11-28 Thread Roger Goh
Just to add, I'm not allowed to start up sendmail (as it's hardened for security reason), so editing sendmail.cf may not be an option. So I certainly need a script/tool to do this forwarding to the relay /postfix server Roger On Tue, Nov 29, 2011 at 11:15 AM, Roger Goh wrote: > > Script: > ==