Prev: SOLVED - Re: Formatting External USB Drives
Next: Need Cups-PDF to actually create PDF not Postscript
From: Marshall Lake on 4 Jun 2010 18:41 I've been trying to resolve this issue long enough that I'm becoming tired and confused. Hopefully someone can help me and/or explain to me what's going on. I'm running an email server using exim v4.69 on Debian 5.0.0 with a hostname of es. The domain name is <mydom.net>. The server supports both individual users and mailing lists (using Mailman v2.1.11). The From: line of outgoing emails (whether it comes from a user or a mailing list) is always <@es.mydom.net> (verified with exim -brw). This has always worked fine until ... A short while ago my ISP blocked port 25. Rather than fight with my ISP I purchased no-ip.com's Reflector service. Now, all email addressed to mydom.net arrives at my mail server via no-ip.com on a port other than 25. Now any response to a post to a mailing list by a user outside the mydom.net domain is not being delivered because the To: line of the response contains list(a)es.mydom.net and delivery is attempted through my ISP. However, responses to emails sent by individual users are being delivered fine because the To: line contains user(a)mydom.net and delivery is made through <no-ip.com>. I do not understand why the To: line of responses to emails coming from individuals and emails coming from mailing lists should be different. I suppose the best way to correct this situation is to rewrite the From: line of all outgoing emails from @es.mydom.net to @mydom.net but I cannot see how. Any help and/or explanation is appreciated.
From: Marc Haber on 5 Jun 2010 11:31 Marshall Lake <fa-q(a)NS.net> wrote: >I do not understand why the To: line of responses to emails coming from >individuals and emails coming from mailing lists should be different. The To: line of a message is irrelevant for SMTP delivery. Sender and Recipient are transported out-of-band in the SMTP envelope. Greetings Marc -- -------------------------------------- !! No courtesy copies, please !! ----- Marc Haber | " Questions are the | Mailadresse im Header Mannheim, Germany | Beginning of Wisdom " | http://www.zugschlus.de/ Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834
From: J G Miller on 5 Jun 2010 17:05
On Fri, 04 Jun 2010 22:41:10 +0000, Marshall Lake wrote: > I suppose the best way to correct this situation is to rewrite the From: > line of all outgoing emails from @es.mydom.net to @mydom.net but I > cannot see how. Outgoing email messages can easily have their From field and other appropriate field rewritten using the email-addresses file mechanism in the appropriate transport sub-section. For example -- remote_smtp_smarthost: driver = smtp debug_print = "Transport: remote_smtp_smarthost for $local_p art@$domain" headers_rewrite = CHECK_HEADERS_REWRITE \ ${lookup{$1}lsearch{CONFDIR/email-addresses}{$ value}fail} hosts_try_auth = <; \ ${if exists{CONFDIR/passwd.client}\ {${lookup{$host}nwildlsearch{CONFDIR/pas swd.client}{$host_address}}}\ {}} return_path = ${if match{$return_path}{CHECK_RETURN_PATH}\ {${lookup{$1}\ lsearch{CONFDIR/email-addresses}{$value} fail}}\ fail} |