On Sat 11 Jul 2015 at 07:43:49 -0500, Martin G. McCormick wrote: > David Wright writes: > > I don't see what the issue is. "People" with different usernames > > send mail from this system. > > Correct. After looking at what I posted, it is confusing. Let's > try again. > > > Do you mean /etc/mailname? What's actually in there? > > wb5agz.swbell.net > > That should never show up on the remote end because this is the > host name that is locally defined and not on any DNS A record.
What are the outputs of 'cat /etc/hosts' and 'hostname'? What do you understand the significane of /etc/mailname to be? > The user ID for me on the local system is martin. The > user ID I registered on the smarthost was martin.m since martin > without anything else already belongs to another customer. If I > hope to send mail through smtp.suddenlink.net, it must see > marti...@suddenlink.net plus the password also used to retrieve > pop3 mail and the retrieval does work. Your username on the system has nothing to do with the login username (marti...@suddenlink.net) and password for sending mail through an SMTP server at suddenlink.net. All that the server cares about is getting the correct authentication tokens. > > Do you mean the From: line in your email header? What are you typing > > in (or what is your mail client putting there) and where are you > > observing the changed version? > > The mainlog file displays the error that > smtp.suddenlink.net is reporting > > 2015-07-11 06:29:26 1ZDsyD-0001Rm-PO ** mar...@shellworld.net R=smarthost > T=remote_smtp_smarthost: SMTP error from remote mail server after > MAIL FROM:<mar...@suddenlink.net> SIZE=1586: host smtp.suddenlink.net > [208.180.40.68]: 553 Authentication is required to send mail as > <mar...@suddenlink.net> > > I totally agree. That should have been marti...@suddenlink.net. Nope; MAIL FROM: can be what you want it to be. Once you have been authernticated, of course. > That is where the wheels came off. > > The smarthost sees mar...@suddenlink.net and what it should see > in the From: line is marti...@suddenlink.net > Here are all the non-comments from update-exim4.conf.conf MAIL FROM: and From: are not the same. The server couldn't care less what From: is. > dc_eximconfig_configtype='satellite' All locally generated mail (by cron etc) is sent to the smarthost. If that is what you want it's fine. > dc_other_hostnames='' This is not empty on my system. > dc_local_interfaces='127.0.0.1' > dc_readhost='suddenlink.net' Headers are rewritten so that the local host name is replaced by suddenlink.net > dc_relay_domains='' > dc_minimaldns='false' > dc_relay_nets='' > dc_smarthost='smtp.suddenlink.net::587' > CFILEMODE='644' > dc_use_split_config='true' > dc_hide_mailname='true' You are sure you want to do this? > dc_mailname_in_oh='true' > dc_localdelivery='mail_spool' > > Here are all the important parts of passwd.client except the > password. > > smtp.suddenlink.net:marti...@smtp.suddenlink.net:SECRET Looks ok. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/11072015152927.f283c185b...@desktop.copernicus.demon.co.uk