[Esd-l] HELP on a mail gateway =(

Ing Juan Pablo Feria feria at tpitic.com.mx
Fri Aug 9 10:45:01 PDT 2002


On Fri, 2002-08-09 at 09:14, Scott Taylor wrote:

> 
> Then you will need to set up a relay system, but it would get relayed 
> before it hit the procmail filters.  Can't IMail server run procmail?  I 
> know you can run Perl on Windoze things.

I dont  think so =), from PROCMAIL FAQ

===================================================================
Q: Is there a Procmail for Windows NT?

A: No, and it's somewhat unlikely that anybody would undertake a port.
Read Bart Schaefer's excellent summary of the problems. Excerpt: "I've
seriously looked at porting it to NT, yes. The problems are pretty
severe." 
===================================================================

> >CAN THIS BE THE PROBLEM?
> >
> >instead of this:
> >
> ># pipe through procmail for processing
> >R$*<@domain.com>$*     $#procmail $@/etc/procmail/filter.rc
> >$:$1<@domain.com.procmail.>$2
> >
> >
> >this:
> >
> ># pipe through procmail for processing
> >R$*<@domain.com>$*     $#procmail $@/etc/procmail/filter.rc
> >$:$1<@imail.domain.com.>$2
> 
> Have you tried it?

Yes, here are the logs for both configs:

NOTES: both configurations try to re-send the message, the first to
vhea at domain.com.procmail and the second one to vhea at imail.domain.com
the first one is not a valid domain, the second one gets a host not
found error, but if i send a mail to vhea at imail.domain.com from other
computer (using the same name server) the mail is sent to the imail
server, so is not a DNS problem.

If I issue a "mail -v vhea at imail.domain.com"  in the sendmail+procmail
box i got the same error (host not found) in the log




Aug  8 05:07:19 ShProtect sm-mta[151]: g78C7IJb000149:
to=<vhea at domain.com>, delay=00:00:01, xdelay=00:00:00, mailer=procmail,
pri=30368, relay=/etc/procmail/filter.rc, dsn=2.0.0, stat=Sent
Aug  8 05:07:19 ShProtect sendmail[153]: g78C7Jpx000153:
from=feria at mail.tpitic.com.mx, size=616, class=0, nrcpts=1,
msgid=<200208081842.g78IgOT31752 at mail.tpitic.com.mx>,
relay=root at localhost
Aug  8 05:07:19 ShProtect sm-mta[154]: g78C7JJb000154:
from=<feria at mail.tpitic.com.mx>, size=787, class=0, nrcpts=1,
msgid=<200208081842.g78IgOT31752 at mail.tpitic.com.mx>, proto=ESMTP,
daemon=MTA, relay=IDENT:25 at localhost [127.0.0.1]
Aug  8 05:07:20 ShProtect sendmail[153]: g78C7Jpx000153:
to=vhea at domain.com.procmail, ctladdr=feria at mail.tpitic.com.mx (0/0),
delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30613,
relay=localhost.domain.com. [127.0.0.1], dsn=2.0.0, stat=Sent
(g78C7JJb000154 Message accepted for delivery)
Aug  8 05:07:20 ShProtect sm-mta[156]: g78C7JJb000154:
to=<vhea at domain.com.procmail>, delay=00:00:01, xdelay=00:00:00,
mailer=local, pri=31014, dsn=2.0.0, stat=Sent

-----


Aug  8 08:46:02 ShProtect sm-mta[327]: g78Fk0Vs000325:
to=<vhea at domain.com>, delay=00:00:01, xdelay=00:00:00, mailer=procmail,
pri=30545, relay=/etc/procmail/filter.rc, dsn=2.0.0, stat=Sent
Aug  8 08:46:03 ShProtect sendmail[329]: g78Fk2hk000329:
from=vhea at tpitic.com.mx, size=1197, class=0, nrcpts=1,
msgid=<1028846990.2572.59.camel at helpdesk>, relay=root at localhost
Aug  8 08:46:05 ShProtect sm-mta[330]: g78Fk4Vs000330:
from=<vhea at tpitic.com.mx>, size=1365, class=0, nrcpts=1,
msgid=<1028846990.2572.59.camel at helpdesk>, proto=ESMTP, daemon=MTA,
relay=IDENT:25 at localhost [127.0.0.1]
Aug  8 08:46:05 ShProtect sendmail[329]: g78Fk2hk000329:
to=vhea at imail.domain.com, ctladdr=vhea at tpitic.com.mx (0/0),
delay=00:00:03, xdelay=00:00:02, mailer=relay, pri=30789,
relay=localhost.domain.com. [127.0.0.1], dsn=2.0.0, stat=Sent
(g78Fk4Vs000330 Message accepted for delivery)
Aug  8 08:46:05 ShProtect sm-mta[333]: g78Fk4Vs000330:
to=<vhea at imail.domain.com>, delay=00:00:01, xdelay=00:00:00,
mailer=esmtp, pri=30957, relay=imail.domain.com, dsn=5.1.2, stat=Host
unknown (Name server: imail.domain.com:
host not found)
Aug  8 08:46:05 ShProtect sm-mta[333]: g78Fk4Vs000330: g78Fk5Vs000333:
DSN: Host unknown (Name server: imail.domain.com: host not found)





> 
> Can you send mail from the sendmail server to the imail server? 

No


 Maybe you 
> could write a bounce at the end of procmail to forward the message from 
> sendmail.domain.com to imail.domain.com.

Any pointers to do that?


 
> Is imail.domain.com an Internet FQDN or only on a LAN?

is on internet, a valid name 

> 
> You are not really using "domain.com" right?
> 

nop ,spammers are dangerous =)

> If it wasn't a Windows box I'm sure you would find a lot more help, like 
> fetchmail or something.  Maybe there is a fetchmail type thingy for Windoze 
> or IMail?

Will need to take a look on that


Thanks again

> 
-- 
            
"Please accept my resignation. I do not want to belong to a club that
would have me as a member."                            - Groucho Marx



More information about the esd-l mailing list