Yes, Once MailAvenger receive an email its uses sendmail for delivering it locally. i would like to submit local mail via SMTP (which is MailAvenger in my case).
a small example would be really helpful. regards sufian On Thu, Dec 9, 2010 at 6:50 PM, Noel Jones <njo...@megan.vbhcs.org> wrote: > On 12/9/2010 11:38 AM, Sufian Hameed wrote: > >> Hi, >> >> i have configured MailAvenger smtp server for receiving all >> the incoming email. MailAvenger runs of standard smtp port and >> its configuration requires to comments out the following line >> in master.cf <http://master.cf> >> >> >> # >> ========================================================================== >> # service type private unpriv chroot wakeup maxproc >> command + args >> # (yes) (yes) (yes) (never) (100) >> # >> ========================================================================== >> #smtp inet n - n - - smtpd >> >> So Whenever there is an email from outside it is received by >> MailAvenger and after processing on the SMTP transactions >> (EHLO, MAIL FROM, RCPT TO and DATA), it passes the email to >> postfix for local delivery. >> >> so the path is like MailAvenger ---> postfix/pickup ---> >> postfix/cleanup ---> postfix/qmgr ---->postfix/local >> (delivered to mailbox) >> >> But for the local emails the path is >> >> postfix/pickup ---> postfix/cleanup ---> postfix/qmgr >> ---->postfix/local (delivered to mailbox) >> >> *_My requirement is that even the local email should pass >> through MailAvenger._* >> >> I have gone through http://www.postfix.org/FILTER_README.html >> and still i am not sure how to inject the local email to >> MailAvenger. >> >> i also tried to use transport_maps like >> myserver.com <http://myserver.com> smtp:[myserver.com >> <http://myserver.com>]:25 >> >> >> but it just creates a loop and eventually the email is bounce. >> >> thanks >> >> sufian >> >> >> > > > Your choices are either submit local mail via SMTP, or configure multiple > postfix instances. > > If MailAvenger can resubmit mail to postfix via SMTP rather than dumping > stuff to sendmail(1), that will make this much easier -- just use > MailAvenger as an "advanced" content_filter. > > > -- Noel Jones >