Sender address rejected: Access denied

Henk Bos henk-bos at xs4all.nl
Mon Jul 25 22:41:07 CEST 2011


Hi,

I think you want to send out the email through your providers SMTP service.

First of all you must know the smtp service name of your provider (usually smtp.provider.com)

Then you must specify the right transport in:

/kolab/etc/kolab/template/transport.template

adding the following at the end:

# Internal delivery:
csanyi-pal.info	:
.csanyi-pal.info	:
# External delivery
*	smtp:{smtp.provider.com]

Then issue the command kolabconf

Henk Bos

Op zondag 24 juli 2011 13:58:02 schreef u:
> Paul Klos <kolab at klos2day.nl> writes:
> > On Sunday 24 July 2011 09:47:26 Nicholas Moore wrote:
> >> "I have run postmap /etc/postfix/sasl_passwd command."
> >> 
> >> Try using the kolab version of postmap :
> >> 
> >> /kolab/etc/sbin/postmap /etc/postfix/sasl_passwd
> >> 
> >> On 24/07/11 09:20, Csanyi Pal wrote:
> >> > I have run postmap /etc/postfix/sasl_passwd command.
> > 
> > If you use port 587 to send emails, postfix will check the sender
> > address you use, and reject unknown addresses. Since you're trying to
> > send a message as csanyipal at stcable.net this will fail because your
> > default addresses of the form <user>@csanyi-pal.info, which is your
> > local mail domain.
> 
> I don't know whether I use port 587 to send emails. When I used 'telnet
> smtp.stcable.net 25' command then I used port 25 to connect to smtp
> server of my ISP.
> 
> > The solution is to add any sender addresses as aliases into your user
> > profile. You can use the kolab web management interface to do
> > that. Once the addresses are known, you should be fine.
> 
> Using the kolab web management I added the following lines into Email
> Aliases filed, one address per line:
> csanyipal at csanyi-pal.info
> csanyipal at bubba.localdomain
> csanyipal at localhost.localdomain
> csanyipal at stcable.net
> 
> After Submit of that I send a mail from machine where kolab server run:
> echo "hello" | mailx -s  "test" csanyipal at gmail.com
> 
> and can see output into mail.info lod file:
> 
> Jul 24 12:33:45 bubba postfix/pickup[28145]: E93AB73DF3: uid=1000
> from=<csanyipal>
> 
> Jul 24 12:33:46 bubba postfix/cleanup[28449]: E93AB73DF3:
> message-id=<20110724103345.E93AB73DF3 at csanyi-pal.info>
> 
> Jul 24 12:33:46 bubba postfix/qmgr[28146]: E93AB73DF3:
> from=<csanyipal at stcable.net>, size=308, nrcpt=1 (queue active)
> 
> Jul 24 12:33:47 bubba postfix/smtpd[28455]: connect from
> bubba.localdomain[127.0.0.1]
> 
> Jul 24 12:33:47 bubba postfix/smtpd[28455]: AD87173DEE:
> client=bubba.localdomain[127.0.0.1]
> 
> Jul 24 12:33:47 bubba postfix/cleanup[28456]: AD87173DEE:
> message-id=<20110724103345.E93AB73DF3 at csanyi-pal.info>
> 
> Jul 24 12:33:47 bubba postfix/qmgr[28146]: AD87173DEE:
> from=<csanyipal at stcable.net>, size=490, nrcpt=1 (queue active)
> 
> Jul 24 12:33:47 bubba postfix/smtpd[28455]: disconnect from
> bubba.localdomain[127.0.0.1]
> 
> Jul 24 12:33:47 bubba postfix/pipe[28451]: E93AB73DF3:
> to=<csanyipal at gmail.com>, relay=kolabfilter, delay=2.1,
> delays=0.28/0.11/0/1.7, dsn=2.0.0, status=sent (delivered via
> kolabfilter service)
> 
> Jul 24 12:33:47 bubba postfix/qmgr[28146]: E93AB73DF3: removed
> 
> Jul 24 12:33:48 bubba postfix/smtp[28457]: AD87173DEE:
> to=<csanyipal at gmail.com>, relay=smtp.stcable.net[91.102.225.5]:25,
> delay=0.47, delays=0.18/0.16/0.07/0.07, dsn=5.7.1, status=bounced (host
> smtp.stcable.net[91.102.225.5] said: 554 5.7.1 <csanyipal at stcable.net>:
> Sender address rejected: Access denied (in reply to RCPT TO command))
> 
> Jul 24 12:33:48 bubba postfix/cleanup[28449]: 17C3673DF4:
> message-id=<20110724103348.17C3673DF4 at csanyi-pal.info>
> 
> Jul 24 12:33:48 bubba postfix/qmgr[28146]: 17C3673DF4: from=<>,
> size=2476, nrcpt=1 (queue active)
> 
> Jul 24 12:33:48 bubba postfix/bounce[28458]: AD87173DEE: sender
> non-delivery notification: 17C3673DF4
> 
> Jul 24 12:33:48 bubba postfix/qmgr[28146]: AD87173DEE: removed
> 
> Jul 24 12:33:48 bubba postfix/smtp[28457]: 17C3673DF4:
> to=<csanyipal at bubba.localdomain>, orig_to=<csanyipal at stcable.net>,
> relay=none, delay=0.09, delays=0.06/0.03/0.01/0, dsn=5.4.6,
> status=bounced (mail for localhost loops back to myself)
> 
> Jul 24 12:33:48 bubba postfix/qmgr[28146]: 17C3673DF4: removed
> 
> 
> Still the mail was bounced again, right?




More information about the users mailing list