|
Prev: (HOWTO) How to extract a single message from a mail spool file (sendmail, procmail)
Next: Large Recipient Lists
From: Dan on 1 Jul 2008 16:18 I can send emails from server to dan(a)domain.com. On server, I set up an /etc/aliases: dan: dan(a)domain.com And ran newaliases. /etc/mail/aliases: 1 aliases, longest 21 bytes, 27 bytes total When I try to send mail to dan, and have it forwarded to dan(a)domain.com, I get nothing. Any suggestions? Thanks
From: Andrzej Adam Filip on 1 Jul 2008 17:55 Dan <dan(a)domain.com> wrote: > I can send emails from server to dan(a)domain.com. > > On server, I set up an /etc/aliases: > dan: dan(a)domain.com > And ran newaliases. > /etc/mail/aliases: 1 aliases, longest 21 bytes, 27 bytes total > > When I try to send mail to dan, and have it forwarded to > dan(a)domain.com, I get nothing. > > Any suggestions? > Thanks Run the test command below (as root): sendmail -d27.2 -bv dan -- [pl>en Andrew] Andrzej Adam Filip : anfi(a)priv.onet.pl : anfi(a)xl.wp.pl People disagree with me. I just ignore them. -- Linus Torvalds, regarding the use of C++ for the Linux kernel
From: Dan on 2 Jul 2008 09:40 Andrzej Adam Filip <anfi(a)onet.eu> wrote: > Run the test command below (as root): > sendmail -d27.2 -bv dan # /usr/lib/sendmail -d27.2 -bv dan alias(dan) dan (, dan) aliased to dan(a)domain.com self_reference(dan(a)domain.com) ... no self ref dan(a)domain.com... deliverable: mailer relay, host relay.relayer.net, user dan(a)domain.com
From: Andrzej Adam Filip on 2 Jul 2008 09:49 Dan <dan(a)domain.com> wrote: > Andrzej Adam Filip <anfi(a)onet.eu> wrote: >> Run the test command below (as root): >> sendmail -d27.2 -bv dan > > # /usr/lib/sendmail -d27.2 -bv dan > alias(dan) > dan (, dan) aliased to dan(a)domain.com > self_reference(dan(a)domain.com) > ... no self ref > dan(a)domain.com... deliverable: mailer relay, host relay.relayer.net, user dan(a)domain.com So most likely sendmail gets something "wrong" as the domain part of the address. Could you: 1) post log entries generated by "miss-delivered" e-mail 2) repeat the test for address with domain part as indicated by log entries -- [pl>en Andrew] Andrzej Adam Filip : anfi(a)priv.onet.pl : anfi(a)xl.wp.pl Human resources are human first, and resources second. -- J. Garbers
From: Dan on 2 Jul 2008 10:40
Andrzej Adam Filip <anfi(a)onet.eu> wrote: > So most likely sendmail gets something "wrong" as the domain part of the > address. Could you: > 1) post log entries generated by "miss-delivered" e-mail > 2) repeat the test for address with domain part as indicated by log entries # /usr/lib/sendmail -d27.2 -bv dan(a)domain.com dan(a)domain.com... deliverable: mailer relay, host relay.relayer.net, user dan(a)domain.com Jul 2 09:35:00 server sendmail[26748]: [ID 801593 mail.info] m62EZ0d8026748: from=root, size=51, class=0, nrcpts=1, msgid=<200807021435.m62EZ0d8026748(a)server.domain.com>, relay=root(a)localhost Jul 2 09:35:00 server sendmail[26749]: [ID 801593 mail.info] m62EZ06X026749: from=<root(a)server.domain.com>, size=361, class=0, nrcpts=1, msgid=<200807021435.m62EZ0d8026748(a)server.domain.com>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] Jul 2 09:35:00 server sendmail[26748]: [ID 801593 mail.info] m62EZ0d8026748: to=dan, ctladdr=root (0/1), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30051, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m62EZ06X026749 Message accepted for delivery) Jul 2 09:35:21 server sendmail[26752]: [ID 801593 mail.info] m62EZ06X026749: to=dan(a)domain.com, ctladdr=<root(a)server.domain.com> (0/1), delay=00:00:21, xdelay=00:00:21, mailer=relay, pri=30603, relay=relay.relayer.net. [10.229.183.100], dsn=2.0.0, stat=Sent ( <200807021435.m62EZ0d8026748(a)server.domain.com> Queued mail for delivery) Is this what you want? |