Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i still encountered th e same issues.
First of all i set the hostname of the machine to nelly, and the domain to mail1.local
All these configs are also correctly defined in the /etc/postfix/main.cf.
-The users are able to login thru squirrelmail
-They are able to compose mail, and send to other users configured on the machine, but the mail is not delivered to the recipients inbox, this is the log generated i the process
Quote:
Aug 1 16:28:53 nelly dovecot: IMAP(sam): Disconnected: Logged out
Aug 1 16:29:07 nelly postfix/smtp[3525]: certificate verification failed for mx2.suse.de[195.135.220.15]:25: untrusted issuer /O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
Aug 1 16:29:09 nelly postfix/smtp[3525]: 69B5B1A3331: to=<editorial@suse.de>, relay=mx2.suse.de[195.135.220.15]:25, delay=17, delays=0.19/0.03/16/0.83, dsn=5.0.0, status=bounced (host mx2.suse.de[195.135.220.15] said: 554 <sam@suse.de>: Sender address rejected: We don't accept our own addresses as sender address on this host! (in reply to RCPT TO command))
Aug 1 16:29:10 nelly postfix/cleanup[3524]: 1A9341A3335: message-id=<20080801132910.1A9341A3335@nelly.mail1.local>
Aug 1 16:29:10 nelly postfix/qmgr[3303]: 1A9341A3335: from=<>, size=2782, nrcpt=1 (queue active)
Aug 1 16:29:10 nelly postfix/bounce[3532]: 69B5B1A3331: sender non-delivery notification: 1A9341A3335
Aug 1 16:29:10 nelly postfix/qmgr[3303]: 69B5B1A3331: removed
Aug 1 16:29:21 nelly postfix/smtp[3525]: certificate verification failed for mx1.suse.de[195.135.220.2]:25: untrusted issuer /O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing Authority/emailAddress=support@cacert.org
Aug 1 16:29:23 nelly postfix/smtp[3525]: 1A9341A3335: to=<sam@suse.de>, relay=mx1.suse.de[195.135.220.2]:25, delay=14, delays=0.13/0/13/0.75, dsn=5.0.0, status=bounced (host mx1.suse.de[195.135.220.2] said: 550 <sam@suse.de>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command))
Im so confused coz the log shows something like sam@suse.de,just 2 mention, sam is a username i created on the system, but where does the @suse.de domain come from?
Secondly, when sam sends mail to domains like yahoo, G-mail etc, they are delivered only that it shows the mail is from sam@suse.de, im so confused by this suse.de thing, the relay in the log indicates mx1.suse.de, can anyone help me here coz im so lost and confused.
I'd suggest you start with the default postfix config file, and work from there. If you want to do this, move the existing main.cf file elsewhere, and reinstall postfix to get the standard config (or at least the one that is used with your distro). Then post the output of postconf -n again.
Nope,
same issue, user can login and compose mail but its not delivered to recipients Inbox, and also weired domains showing up the logs.
Quote:
nelly:/ # tail -f /var/log/mail
Aug 4 14:59:28 nelly postfix/qmgr[9028]: 1D5A51A3335: from=<>, size=2754, nrcpt=1 (queue active)
Aug 4 14:59:28 nelly postfix/qmgr[9028]: F0C101A3331: removed
Aug 4 14:59:34 nelly postfix/smtp[9070]: 1D5A51A3335: to=<nelly@suse.de>, relay=mx2.suse.de[195.135.220.15]:25, delay=6.2, delays=0.07/0/5.4/0.73, dsn=5.0.0, status=bounced (host mx2.suse.de[195.135.220.15] said: 550 <nelly@suse.de>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command))
Aug 4 14:59:34 nelly postfix/qmgr[9028]: 1D5A51A3335: removed
Aug 4 14:59:39 nelly dovecot: imap-login: Login: user=<sam>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Aug 4 14:59:39 nelly dovecot: IMAP(sam): Disconnected: Logged out
Aug 4 14:59:40 nelly dovecot: imap-login: Login: user=<sam>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Aug 4 14:59:40 nelly dovecot: IMAP(sam): Disconnected: Logged out
Aug 4 14:59:40 nelly dovecot: imap-login: Login: user=<sam>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Aug 4 14:59:40 nelly dovecot: IMAP(sam): Disconnected: Logged out
I didnt configure my domain as suse.de, but as u see in the log there appears sam@suse.de, nelly@suse.de; as for sam & nelly, they are configured users on the Server but where does the suse.de come in from. actually my configured domain is mail1.local.
Im totally lost!
Setup the most basic postfix: just local user mail. Then slowly adapt to allow external mail and out-going mail.
Take baby steps. I also would recommend a VERY good book called: The Book of Postfix - State of the art message transport, by Ralf Hildebrandt and Patrick Koetter. ISBN: 978-1-59327-001-8
I'm reading it now. It will tell you everything you need to know about postfix. I haven't read other books on postfix, but this seems to get it all.
I tried the above n the first command delivers mail to nelly's inbox and it shows that its from root@nelly.mail1.local
Second command has its mail bounced.
Third command also delivers mail to nelly Inbox
Now that means i have to send mail to user@nelly.mail1.local, for mail to be delivered to the users inbox. but then it shows the mail is from user@suse.de, thats kinna weired coz i thought it wud show that its from user@nelly.mail1.local, isn't it? i dont knw where the suse.de is coming from.
For example i login as sam and send mail to editorail@nelly.mail1.local, the mail is delivered but then it shows its from sam@suse.de.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.