[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 05/07/07 20:15:05, James Fidell wrote: > stinga wrote: > > G'day all, > > > > Got a simple question, that I thought I knew the answer to! > > > > I send an email from user 'account@xxxxxxxxxxxxxx' to user > > a.person@xxxxxxxxxxxxxxxxx > > > > The mail bounces besause a.person entered their email in > incorrectly. > > > > Mail bounces back to 'account@xxxxxxxxxxxxxx' > > > > I want all error email to go to customer.service@xxxxxxxxxxxxxx > > > > But what ever I do it comes back to the sender, so every so often > we > > > have to clear out emails, (31000 last time, hmm, have not looked > for > a > > while!) > > The most reliable way is probably to use > customer.service@xxxxxxxxxxxxxx > for the SMTP envelope and account@xxxxxxxxxxxxxx for the From header. > Bounces should then go to the first address. Whether you're able to > do > that or not of course depends on what sort of access you have to the > machine sending the email. > OK, I now need to understand about smtp envelopes. At the moment the process creates a flat file and cats it into sendmail with a -t (sort of, there is another perl module one floating around as well) So a file with something like... To: a.person@xxxxxxxxxxxxxxxxx Reply-To: customer.service@xxxxxxxxxxxxxx Subject: Here is you email Email body -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html