smtpd relay error - sender address rejected

2024-04-18 Thread Luis Mendes
Hi, I'm trying to configure smtpd to send some emails to my account at Yandex, but the mail server is returning an error: stat="550 5.7.0 Sender address rejected: not owned by authorized user This is on OpenBSD 7.5. The /etc/mail/smtpd.conf configuration is: # grep -v '^#' /etc/mail/smtpd.conf

Re: smtpd relay problem

2018-05-03 Thread Rudolf Sykora
Dear Bruno, Mazocomp, > via smtps+auth://a...@smtp.gmail.com:465 \ thanks, it works now. I wrongly expected that using secure+auth would choose the ports (465 when smtps and 587 for tls fall-back). Thanks Ruda PS.: Thanks to Mazocomp for supplementary information.

Re: smtpd relay problem

2018-05-02 Thread Bruno Flueckiger
On 02.05.18 15:05, Rudolf Sykora wrote: > Hello misc, > > I just wanted to send mail through my gmail account > using smtpd in the relay mode. > I am unsuccessful so far, and do not understand what's > going wrong. > > smtpd log of the attempt to send the email follows. > Can anybody help, please

Re: smtpd relay problem

2018-05-02 Thread mazocomp
Hi! Try to modify my configs under your username and address: /etc/mail/smtpd.conf: - table aliases file:/etc/mail/aliases table secrets file:/etc/mail/secrets listen on lo0 accept for local alias deliver to mbox accept for any relay via tls+auth://mazoc...@disroot.org:587

smtpd relay problem

2018-05-02 Thread Rudolf Sykora
Hello misc, I just wanted to send mail through my gmail account using smtpd in the relay mode. I am unsuccessful so far, and do not understand what's going wrong. smtpd log of the attempt to send the email follows. Can anybody help, please? Thanks Ruda odin# smtpd -dv debug: init ssl-tree debug

Re: smtpd "relay as" not working as expected

2017-06-12 Thread Marcus MERIGHI
Hello, fivering...@yahoo.com.au (Steve), 2017.06.07 (Wed) 15:23 (CEST): > Hello, > If I include : > accept from local for any relay as "@domain.com" > in smtpd.comnf on 6.1 release the reply to address is rewritten as > u...@domain.com but the from address is left as u...@host.domain.com. > Do

smtpd "relay as" not working as expected

2017-06-07 Thread Steve
Hello, If I include : accept from local for any relay as "@domain.com" in smtpd.comnf on 6.1 release the reply to address is rewritten as u...@domain.com but the from address is left as u...@host.domain.com. Do I have this syntax incorrect ? Thanks.

Re: smtpd relay

2013-02-26 Thread Jan Stary
On Feb 26 17:11:54, zko...@sbb.rs wrote: > Another problem surfaced: I added line to > muttrc to have smtpd as a mailer: > set sendmail="/usr/sbin/smtpctl" Why?

Re: smtpd relay

2013-02-26 Thread Gilles Chehade
On Tue, Feb 26, 2013 at 11:57:29AM -0500, Scott McEachern wrote: > On 02/26/13 11:52, Gilles Chehade wrote: > >Here's a schema I did of the layout a while ago: > > Your diagram, with "Charles", reminds me of a question I've always wondered: > > What's with the name "Charlie" in a default install?

Re: smtpd relay

2013-02-26 Thread Scott McEachern
On 02/26/13 11:52, Gilles Chehade wrote: Here's a schema I did of the layout a while ago: Your diagram, with "Charles", reminds me of a question I've always wondered: What's with the name "Charlie" in a default install? Just curious.. -- Scott McEachern https://www.blackstaff.ca

Re: smtpd relay

2013-02-26 Thread Gilles Chehade
On Tue, Feb 26, 2013 at 05:45:36PM +0100, Zoran Kolic wrote: > One more question. Using top I learnt that smtpd > had 7 or 8 instances. Is it intentional? > Yes, these are different processes handling different tasks. Here's a schema I did of the layout a while ago: http://goo.gl/73UaI And

Re: smtpd relay

2013-02-26 Thread Zoran Kolic
One more question. Using top I learnt that smtpd had 7 or 8 instances. Is it intentional? Zoran

Re: smtpd relay

2013-02-26 Thread Zoran Kolic
Ah! Ah! Forgot about mailwrapper! I put /usr/sbin/sendmail and it works fine. It is simply a link to /usr/sbin/mailwrapper. Thanks a lot. Zoran

Re: smtpd relay

2013-02-26 Thread Gilles Chehade
On Tue, Feb 26, 2013 at 05:11:54PM +0100, Zoran Kolic wrote: > Smtpd loaded with smtp:// prefix. Thanks. > Another problem surfaced: I added line to > muttrc to have smtpd as a mailer: > > set sendmail="/usr/sbin/smtpctl" > > and I cannot send mail, since smtpctl needs > root privilages. Am I on t

Re: smtpd relay

2013-02-26 Thread Zoran Kolic
Smtpd loaded with smtp:// prefix. Thanks. Another problem surfaced: I added line to muttrc to have smtpd as a mailer: set sendmail="/usr/sbin/smtpctl" and I cannot send mail, since smtpctl needs root privilages. Am I on the correct path for this? Zoran

Re: smtpd relay

2013-02-26 Thread Gilles Chehade
On Tue, Feb 26, 2013 at 04:57:26PM +0100, Zoran Kolic wrote: > listen on lo0 > table aliases db:/etc/mail/aliases.db > accept for local alias deliver to mbox > accept for any relay via smtp.sbb.rs > > The error message is: > > /etc/mail/smtpd.conf:16: error: invalid url: smtp.sbb.rs > > If need

Re: smtpd relay

2013-02-26 Thread Zoran Kolic
listen on lo0 table aliases db:/etc/mail/aliases.db accept for local alias deliver to mbox accept for any relay via smtp.sbb.rs The error message is: /etc/mail/smtpd.conf:16: error: invalid url: smtp.sbb.rs If needed, I will provide further info. Zoran

Re: smtpd relay

2013-02-26 Thread Rogier Krieger
On Tue, Feb 26, 2013 at 4:39 PM, Zoran Kolic wrote: > accept for any relay via my.isp.smtpserver iirc, smtpd.conf(5) mentions the host being in URL form, e.g. smtp://my.isp.smtpserver At least, it does for my Feb 17th snapshot. Regards, Rogier

Re: smtpd relay

2013-02-26 Thread Gilles Chehade
Hi, On Tue, Feb 26, 2013 at 04:39:44PM +0100, Zoran Kolic wrote: > Changed mta to opensmtpd. Default smtpd.conf file works > for home node. I tried to add relay option to send mail > via my ISP smtp server and smtpd refused to load and > parse the file. The line in question is: > > accept for any

smtpd relay

2013-02-26 Thread Zoran Kolic
Changed mta to opensmtpd. Default smtpd.conf file works for home node. I tried to add relay option to send mail via my ISP smtp server and smtpd refused to load and parse the file. The line in question is: accept for any relay via my.isp.smtpserver What exact syntax should I use? Current, amd64.