On Tue, 18 Jan 2000, Liam Healy wrote:
> alias2 : realname
> # This comment will cause mail to alias2 to bounce
>
> Is it possible to make exim less sensitive to the form of
> /etc/aliases?
No. The RFCs allow # as a perfectly "normal" character in email addresses.
The alias you supplied is therefore syntactically invalid, but
alias2: firstname#lastname @ some . domain
would be a legal alias. If you want comments in aliases, you must use
the RFC 822 syntax:
alias2: realname (this is a comment)
Or RTFM. It says "...a # may also appear following a comma in an item
list." So
alias2: realname, # this is a comment
should also be OK.
> 2000-01-17 18:47:06 SMTP connection from ursa.cus.cam.ac.uk [131.111.8.6]
> 2000-01-17 18:47:07 SMTP connection from ursa.cus.cam.ac.uk [131.111.8.6] closed
> by QUIT
>
> This says something, but not a whole lot. Is there a way to log extra
> information, e.g. the addressee, sender, status (successfully received
> or bounced) and if bounced, what the message is?
Successfully received, of course, shows all these things. You can set
log_refused_recipients to log bounced addresses. From release 3.13, the
sender is included in this message. There is also log_smtp_syntax_errors.
The reason all this stuff doesn't happen by default is that log files
can get very large on busy systems.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.