|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi
I'm trying to set up sendmail for InterScan and other MTAs. Mlocal part of sendmail.cf is as follows. ------------------------------------------------- Mlocal, P=[IPC], F=klsDFMAw5:/|@qSmn9X, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=TCP another-host 25 ------------------------------------------------- This setting means that a local-delivery-mail is forwarded to another-host. I dumped packets and found that, forwarded e-mail address has no domain name. For example, a destination address <guest@mydomain.com> is converted to <guest> by sendmail when it is forwarded to another-host. I want to add domain name "@mydomain.com" to <guest>. Is it possible or not ? Please me! Thanks ! Tsuyoshi |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
"TT" <bz800k@hotmail.com> writes:
> I'm trying to set up sendmail for InterScan and other MTAs. > > Mlocal part of sendmail.cf is as follows. > ------------------------------------------------- > Mlocal, P=[IPC], F=klsDFMAw5:/|@qSmn9X, S=EnvFromL/HdrFromL, > R=EnvToL/HdrToL, > T=DNS/RFC822/X-Unix, > A=TCP another-host 25 > ------------------------------------------------- > > This setting means that a local-delivery-mail is forwarded to > another-host. > > I dumped packets and found that, forwarded e-mail address has no domain > name. > > For example, a destination address <guest@mydomain.com> is converted > to <guest> > by sendmail when it is forwarded to another-host. > > I want to add domain name "@mydomain.com" to <guest>. > Is it possible or not ? > Please me! > Thanks ! > > Tsuyoshi Instead of modifying local mailer define MAIL_HUB in sendmail.mc file: define(`MAIL_HUB',`esmtp:another-host') BTW Have you *intentionally* configured processing of aliases and ~/.forward files *before* forwarding messages to the scanner? NO => add also FEATURE(`stickyhost') in sendmail.mc file -- [pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl Before You Ask: http://anfi.homeunix.net/sendmail/B4UAsk-Sendmail.html http://anfi.homeunix.net/sendmail/ |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Sorry, I'm too late.
I could transfer e-mail by MAIL_HUB and stikyhost! Thanks! On 1$B7n(B22$BF|(B, $B8a8e(B6:31, Andrzej Adam Filip <a...@onet.eu> wrote: > "TT" <bz8...@hotmail.com> writes: > > I'm trying to set up sendmail for InterScan and other MTAs. > > > Mlocal part of sendmail.cf is as follows. > > ------------------------------------------------- > > Mlocal, P=[IPC], F=klsDFMAw5:/|@qSmn9X, S=EnvFromL/HdrFromL, > > R=EnvToL/HdrToL, > > T=DNS/RFC822/X-Unix, > > A=TCP another-host 25 > > ------------------------------------------------- > > > This setting means that a local-delivery-mail is forwarded to > > another-host. > > > I dumped packets and found that, forwarded e-mail address has no domain > > name. > > > For example, a destination address <g...@mydomain.com> is converted > > to <guest> > > by sendmail when it is forwarded to another-host. > > > I want to add domain name "@mydomain.com" to <guest>. > > Is it possible or not ? > > Please me! > > Thanks ! > > > TsuyoshiInstead of modifying local mailer define MAIL_HUB in sendmail.mc file: > define(`MAIL_HUB',`esmtp:another-host') > > BTW Have you *intentionally* configured processing of aliases and > ~/.forward files *before* forwarding messages to the scanner? > > NO => add also FEATURE(`stickyhost') in sendmail.mc file > > -- > [pl>en: Andrew] Andrzej Adam Filip : a...@priv.onet.pl : a...@xl.wp.pl > Before You Ask:http://anfi.homeunix.net/sendmail/B4....net/sendmail/ |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
"TT" <bz800k@hotmail.com> writes:
Andrzej Adam Filip <a...@onet.eu> wrote: >> "TT" <bz8...@hotmail.com> writes: >> > I'm trying to set up sendmail for InterScan and other MTAs. >> >> > Mlocal part of sendmail.cf is as follows. >> > ------------------------------------------------- >> > Mlocal, P=[IPC], F=klsDFMAw5:/|@qSmn9X, S=EnvFromL/HdrFromL, >> > R=EnvToL/HdrToL, >> > T=DNS/RFC822/X-Unix, >> > A=TCP another-host 25 >> > ------------------------------------------------- >> >> > This setting means that a local-delivery-mail is forwarded to >> > another-host. >> >> > I dumped packets and found that, forwarded e-mail address has no domain >> > name. >> >> > For example, a destination address <g...@mydomain.com> is converted >> > to <guest> >> > by sendmail when it is forwarded to another-host. >> >> > I want to add domain name "@mydomain.com" to <guest>. >> > Is it possible or not ? >> > Please me! >> > Thanks ! >> >> > TsuyoshiInstead of modifying local mailer define MAIL_HUB in sendmail.mc file: >> define(`MAIL_HUB',`esmtp:another-host') >> >> BTW Have you *intentionally* configured processing of aliases and >> ~/.forward files *before* forwarding messages to the scanner? >> >> NO => add also FEATURE(`stickyhost') in sendmail.mc file > > Sorry, I'm too late. > > I could transfer e-mail by MAIL_HUB and stikyhost! 1) Generate sendmail-test.cf from *.mc file with the above fixes 2) test it using #v+ sendmail -C sendmail-test.cf -bv guest@mydomain.com echo '3,0 guest@mydomain.com' | sendmail -C sendmail-test.cf -bt -d21.12 #v- -- [pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl Before You Ask: http://anfi.homeunix.net/sendmail/B4UAsk-Sendmail.html http://anfi.homeunix.net/sendmail/ [orkut,linkedin,xing] |
|
![]() |
| Outils de la discussion | |
|
|