I seem to have an issue with outgoing mail/sending mail, I’ve created a test user mailbox and I can connect to this using Outlook however then outgoing mail sending test fails.
In my /var/log/maillog it shows the incoming pop connection that appears ok however I then have a couple of warning lines see…
Aug 28 10:38:13 46 dovecot: pop3-login: Login: user=<test.generic>, method=PLAIN, rip=::ffff:80.176.130.114, lip=::ffff:46.38.189.235
Aug 28 10:38:13 46 dovecot: POP3(test.generic): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Aug 28 10:38:36 46 postfix/local[3213]: fatal: open database /etc/aliases.db: No such file or directory
Aug 28 10:38:37 46 postfix/master[9206]: warning: process /usr/libexec/postfix/local pid 3213 exit status 1
Aug 28 10:38:37 46 postfix/master[9206]: warning: /usr/libexec/postfix/local: bad command startup – throttling
Aug 28 10:39:37 46 postfix/local[3242]: fatal: open database /etc/aliases.db: No such file or directory
Aug 28 10:39:38 46 postfix/master[9206]: warning: process /usr/libexec/postfix/local pid 3242 exit status 1
Aug 28 10:39:38 46 postfix/master[9206]: warning: /usr/libexec/postfix/local: bad command startup – throttling
Thanks for your reply, I ran the commands however Outlook still cannot send, is says it cannot connect to the outgoing SMTP server, I am using the same server setting as for ncming would that be correct?
also told the system to resend the sign-up email however nothing has arrived, below is a futher extract from the maillog, does this give any lues as to what is wrong?
Aug 28 17:49:11 46 postfix/local[22407]: EDDA91C33B: to=root@generic.net-digital.co.uk, orig_to=, relay=local, delay=49609, delays=36060/13542/0/6.8, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Aug 28 17:49:11 46 postfix/qmgr[10779]: EDDA91C33B: removed
Aug 28 17:49:25 46 postfix/postfix-script: stopping the Postfix mail system
Aug 28 17:49:25 46 postfix/master[9206]: terminating on signal 15
Aug 28 17:49:26 46 postfix/postfix-script: starting the Postfix mail system
Aug 28 17:49:26 46 postfix/master[22476]: daemon started – version 2.3.3, configuration /etc/postfix
Aug 28 17:51:30 46 dovecot: pop3-login: Login: user=<test.generic>, method=PLAIN, rip=::ffff:80.176.130.114, lip=::ffff:46.38.189.235
Aug 28 17:51:31 46 dovecot: POP3(test.generic): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Aug 28 17:55:24 46 postfix/pickup[22478]: 68AE21C34F: uid=0 from=webmin@46.38.189.235
Aug 28 17:55:24 46 postfix/cleanup[22794]: 68AE21C34F: message-id=1314554123.22787.1@46.38.189.235
Aug 28 17:55:24 46 postfix/qmgr[22479]: 68AE21C34F: from=webmin@46.38.189.235, size=1269, nrcpt=1 (queue active)
Aug 28 17:55:26 46 postfix/smtp[22796]: 68AE21C34F: to=chris@net-digital.co.uk, relay=mx81.emailfiltering.com[194.116.198.78]:25, delay=2.4, delays=0.58/0.1/1.8/0, dsn=5.0.0, status=bounced (host mx81.emailfiltering.com[194.116.198.78] said: 553 Syntax error (4.2.1): webmin@46.38.189.235 (in reply to MAIL FROM command))
Aug 28 17:55:26 46 postfix/cleanup[22794]: 8C3DE1C35F: message-id=20110828175526.8C3DE1C35F@generic.net-digital.co.uk
Aug 28 17:55:26 46 postfix/qmgr[22479]: 8C3DE1C35F: from=<>, size=3241, nrcpt=1 (queue active)
Aug 28 17:55:26 46 postfix/bounce[22797]: 68AE21C34F: sender non-delivery notification: 8C3DE1C35F
Aug 28 17:55:26 46 postfix/qmgr[22479]: 8C3DE1C35F: to=webmin@46.38.189.235, relay=none, delay=0, delays=0/0/0/0, dsn=5.1.3, status=bounced (bad address syntax)
Aug 28 17:55:26 46 postfix/qmgr[22479]: 68AE21C34F: removed
Aug 28 17:55:26 46 postfix/qmgr[22479]: 8C3DE1C35F: removed
Further to my above post regarding the sending mail aspect of my issue I sent the sign-up email again to a gmail address and this time it did come throgh however I notice that the from address is webmin@46.38.189.235 as it isn’t a proper domain which I am guessing is not correct, how do I set/control this?
Further to the above do I need to configure postfix or should it work out of the box? I checked with my ISP and they said “It looks like port 25 is unfiltered correctly, but nothing is listening on it.”
I think there is something wrong with my postfix configuration as when I try and save the General Options in the postfix module I get the error message…
Failed to save options : Failed to query Postfix config command to get the current value of parameter myhostname: /usr/sbin/postconf: warning: valid_hostname: numeric hostname: 46.38.189.235 /usr/sbin/postconf: fatal: unable to use my own hostname
I’ve tried to view the /usr/sbin/postconf using FTP to edit and change the IP address to a hostname however the file looks encoded/encrypted i.e. not in plain text so I cannot edit?
I think I’ve managed to change the hostname, first I changed in Webmin - Networking - Network Configuration - Hostname and DNS Client and use the field: Hostname
The I changed in Network interfaces for receiving mail within the Postfix module and now it’s not complaining about the IP anymore however I still have the outgoing mailserver issue where Outlook cannot connect. As said above my ISP has confirmed that “It looks like port 25 is unfiltered correctly, but nothing is listening on it.”
My maillog says…
Aug 29 17:07:16 46 postfix/master[22476]: warning: service smtp: ignoring inet_interfaces change
Aug 29 17:07:16 46 postfix/master[22476]: warning: to change inet_interfaces, stop and start Postfix
Can anyone advise me how to fix and get Postfix listening?
OK making some progress I think I restarted Postfix and tried another send and receive this time I got a different message from Outlook which said none of the authentication methods supported by this client are supported by your server if I use outgoing mail authentication with the outgoing credentials and if I don’t use outgoing mail authentication I get a message the server responded 450 4.2.0 <test.generic.ne
My maillog is below, can you help?
Aug 29 17:18:43 46 postfix/postfix-script: stopping the Postfix mail system
Aug 29 17:18:43 46 postfix/master[22476]: terminating on signal 15
Aug 29 17:18:43 46 postfix/postfix-script: starting the Postfix mail system
Aug 29 17:18:44 46 postfix/master[32216]: daemon started – version 2.3.3, configuration /etc/postfix
Aug 29 17:19:39 46 dovecot: pop3-login: Login: user=<test.generic>, method=PLAIN, rip=::ffff:80.176.130.114, lip=::ffff:46.38.189.235
Aug 29 17:19:39 46 dovecot: POP3(test.generic): Disconnected: Logged out top=0/0, retr=0/0, del=0/1, size=981
Aug 29 17:19:39 46 postfix/smtpd[32224]: connect from demon.co.uk[80.176.130.114]
Aug 29 17:19:39 46 postfix/smtpd[32224]: lost connection after EHLO from demon.co.uk[80.176.130.114]
Aug 29 17:19:39 46 postfix/smtpd[32224]: disconnect from netdigital.demon.co.uk[80.176.130.114]
Aug 29 17:24:03 46 postfix/smtpd[32347]: NOQUEUE: reject: RCPT from netdigital.demon.co.uk[80.176.130.114]: 450 4.2.0 test@generic.net-digital.co.uk: Recipient address rejected: Greylisted, see http://postgrey.schweikert.ch/help/generic.net-digital.co.uk.html; from=test@generic.net-digital.co.uk to=test@generic.net-digital.co.uk proto=ESMTP helo=
Aug 29 17:24:03 46 postfix/smtpd[32347]: lost connection after RCPT from demon.co.uk[80.176.130.114]
Aug 29 17:24:03 46 postfix/smtpd[32347]: disconnect from demon.co.uk[80.176.130.114]
Aug 29 17:27:00 46 dovecot: pop3-login: Login: user=<test.generic>, method=PLAIN, rip=::ffff:80.176.130.114, lip=::ffff:46.38.189.235
Aug 29 17:27:01 46 dovecot: POP3(test.generic): Disconnected: Logged out top=0/0, retr=1/997, del=0/1, size=981
Aug 29 17:27:23 46 postfix/anvil[32349]: statistics: max connection rate 3/60s for (smtp:80.176.130.114) at Aug 29 17:24:02
Aug 29 17:27:23 46 postfix/anvil[32349]: statistics: max connection count 1 for (smtp:80.176.130.114) at Aug 29 17:23:34
Aug 29 17:27:23 46 postfix/anvil[32349]: statistics: max cache size 1 at Aug 29 17:23:34
As there was a message relating to grey listing I turned this off and tried to send again outlook didn’t complain however no mail sent, below is my maillog now, any ideas whats wrong/how to fix?
OK I’m stuck now, as you can see from above I’ve been trying to work through this to solve the issue however I don’t know what to do now, please can someone assist with the above?
That relay access denied error may mean that Outlook isn’t configured to authenticate when sending an outgoing email. That’s the Outlook default, to not authenticate.
However, since your server can’t distinguish between legitimate users and a spammer, authentication is required… what you can do is go into the Outlook settings, and set it up to authenticate during Outgoing SMTP connections.
Actually, weird changed nothing more and it seems to be working now, without outgoing authentication turned on in Outlook and if I actually tell Outllok to authnticate it stops working. Is there a setting I can use to require outgoing mail authntication?
If you’re sending an email to an account that’s local to the server, it would not require authentication. It only requires authentication for relaying an email to another server.
It says sending reported error (0x800CCC80): None of the authentication methods supported by this client are support by your server.
this is the maillog…
Aug 30 23:32:04 46 postfix/smtpd[19998]: connect from demon.co.uk[80.176.130.114]
Aug 30 23:32:04 46 postfix/smtpd[19998]: lost connection after EHLO from demon.co.uk[80.176.130.114]
Aug 30 23:32:04 46 postfix/smtpd[19998]: disconnect from demon.co.uk[80.176.130.114]
(note if I try and send email to a remote address without using authentication I get the error message - Server error: ‘554 5.7.1: Relay access denied’