On 16-09-13 12:33:53, Edgar Pettijohn wrote:
> 
> 
> Sent from my iPhone
> 
> > On Sep 13, 2016, at 11:55 AM, Silvio Siefke <[email protected]> wrote:
> > 
> > On Mon, 12 Sep 2016 14:07:29 -0500
> > Edgar Pettijohn <[email protected]> wrote:
> > 
> >> For anyone to answer that you would need to provide your smtpd.conf
> >> possibly logs, etc...
> > 
> > <smtpd.conf>
> > # generate db using makemap
> > table aliases file:/etc/smtpd/tables/aliases
> > table vdoms file:/etc/smtpd/tables/domains.conf
> > table vusers file:/etc/smtpd/tables/users.conf
> > table blacklist file:/etc/smtpd/tables/blacklist.conf
table myusers file:/etc/smtpd/tables/myusers.conf
> > 
> > # See smtpd.conf(5) for more information.
> > pki fr-sb.silviosiefke.com certificate "/etc/smtpd/tls/smtpd.crt"
> > pki fr-sb.silviosiefke.com key         "/etc/smtpd/tls/smtpd.key"
> > 
> > # Inbound mail smtp, smtps, deliver
> > listen on localhost
> > listen on eth0 port 25 tls pki fr-sb.silviosiefke.com
> > listen on eth0 port 587 tls-require pki fr-sb.silviosiefke.com auth
> > 
> > # Receive scanned mails from amavisd-new
> > listen on localhost port 10025 tag Scanned
> > 

> > # Deliver locally messages coming back in from scanner
> > accept tagged Scanned from local for domain <vdoms> virtual <vusers> 
> > deliver to maildir "~/maildir"
> > accept from local for local alias <aliases> deliver to maildir "~/maildir"
> > reject tagged Scanned
> > 
> 
> *
> > # Forward all mail received for local domains to amavis
reject from any recipient <blacklist>
accept from any recipient <myusers> for domain <vdoms> relay via 
"smtp://127.0.0.1:10024"

cat > /etc/smtpd/tables/myusers.conf << "EOF"
[email protected]
[email protected]
EOF

> > accept from any recipient !<blacklist> for domain <vdoms> relay via 
> > "smtp://127.0.0.1:10024"
> > 
> > # Relay anything that came in from authenticated users
> > accept from local for any relay
> > </smtpd.conf>
> > 
> > [root@vps296466 smtpd]# cat tables/users.conf 
> > [email protected]    [email protected]
> > [email protected]        [email protected]
> > [email protected]    siefke
> > 
> > 
> > The log, you see listen@ is not in user file but smtpd take it and work
> > with it. Normal should here come User Unknown and a reject.   
> > 
> I think the rule above marked with '*' is to blame. You are accepting 
> everything for your domain and sending it to amavis.  Look at adding a 
> recipients table from smtpd.conf(5).
> 
> > 
> > Sep 12 14:44:16 vps296466.ovh.net smtpd[13278]: 6179c6adcf742a0e smtp 
> > event=message msgid=2f9f47a5 from=<[email protected]> 
> > to=<[email protected]> size=77294 ndest=1 proto=ESMTP
> > Sep 12 14:44:17 vps296466.ovh.net amavis[2312]: (02312-16-2) Blocked SPAM 
> > {DiscardedInbound,Quarantined}, [127.0.0.1] [62.141.46.206] 
> > <[email protected]> -> <[email protected]>, quarantine: 
> > spam-AuzhtQ8d1l4e.gz, Message-ID: <8e7f01d20cfd$99f53990$7bf56161@info>, 
> > mail_id: AuzhtQ8d1l4e, Hits: 7.122, size: 78330, 1043 ms
> > Sep 12 14:44:17 vps296466.ovh.net smtpd[13278]: 6179c6acfe70e3a5 mta 
> > event=delivery evpid=2f9f47a52033a7ab from=<[email protected]> 
> > to=<[email protected]> rcpt=<-> source=127.0.0.1 relay=127.0.0.1 
> > (localhost) delay=2s result=Ok stat=250 2.7.0 Ok, discarded, id=02312-16-2 
> > - spam
> > Sep 12 19:43:56 vps296466.ovh.net smtpd[13278]: 6179c815f28e0caa smtp 
> > event=message msgid=48c3c980 from=<[email protected]> 
> > to=<[email protected]> size=278549 ndest=1 proto=ESMTP
> > Sep 12 19:43:59 vps296466.ovh.net amavis[13651]: (13651-14) Blocked SPAM 
> > {DiscardedInbound,Quarantined}, [127.0.0.1] [62.141.46.206] 
> > <[email protected]> -> <[email protected]>, quarantine: 
> > spam-rvduM1a2D4oI.gz, Message-ID: <eeb301d20d0c$12f265d0$d106cf88@info>, 
> > mail_id: rvduM1a2D4oI, Hits: 7.617, size: 282197, 2268 ms
> > Sep 12 19:43:59 vps296466.ovh.net smtpd[13278]: 6179c81e6b0b89fc mta 
> > event=delivery evpid=48c3c980cea50a79 from=<[email protected]> 
> > to=<[email protected]> rcpt=<-> source=127.0.0.1 relay=127.0.0.1 
> > (localhost) delay=25s result=Ok stat=250 2.7.0 Ok, discarded, id=13651-14 - 
> > spam
> > 
> > Thank you for help,
> > Silvio
> > 
> > -- 
> > You received this mail because you are subscribed to [email protected]
> > To unsubscribe, send a mail to: [email protected]
> 
> 
> --
> You received this mail because you are subscribed to [email protected]
> To unsubscribe, send a mail to: [email protected]

-- 
Edgar Pettijohn

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to