Tag Info

New answers tagged

0

This has nothing to do with Unix. You need to set an MX record in DNS for a.com. This record points to the name of the host which handles the mail for this domain. If there is no MX record for the target domain then the host a.com itself is tried for delivery. You can check that with host -t A google.com vs. host -t MX google.com.


2

Well, you probably have mail. ;) It talks about your local inbox. Use mail or mutt or from to see your local mails. I'm not sure what mail client is installed per default on OSX, but I would expect to find mail on pretty much any unix system. OSX, at the end, is just another unix and unix is designed to be a multi-user system, i.e. multiple different ...


0

that'll be comsat or biff (or something like that) it's talking about the system mail spool. try the command mail it should be possible to tell the mail app to access the system mail spool, but I don't know the details.


3

The standard dnslookup router of exim uses an algorithm to decide how to resolve an email address (this is detailed in the Exim manual on the chapter detailing dnslookup router). Looking at the results from dig, this seems fine: $ dig mail.eu mx ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> mail.eu mx ;; global options: +cmd ;; Got ...


0

The posters in this thread claim success although the explanation of what options need to be changed lacks detail. http://sourceforge.net/p/davmail/support-requests/134/ I have the URLs but I need more specific instructions in how to change the settings of Davmail and my email clients. Can anyone help?


0

your permissions: drwxr-sr-x 2 pedro mail xxxx cur,new,tmp only pedro(you) can write, mail(server) can only read. change user to mail, chmod 700 try again


1

In case if link goes down, here's summary. First, go to master.cf and register your script "myhook" by adding the following line: myhook unix - n n - - pipe flags=F user=www-data argv=/path/to/script.sh ${sender} ${size} ${recipient} Also, edit smtp line to tell Postfix to run the filter for any mail arriving via the SMTP delivery: smtp inet n ...


4

Email was designed back when computers did not have a permanent, fast network connection to each other, on the model of postal mail. When you send an email, it gets sent to a server, which sends it to another server, and so on until the email reaches its destination. The oldest mail systems had local delivery, then there were systems where the email had to ...


1

The correct procedure to execute a script (I use a shell script) upon receipt of a mail message is the following. It involves modifying postfix's configuration file, master.cf (which, in my Debian, is located in /etc/postfix) by adding the following line: my_shell_script unix - n n - - pipe flags=F user=MY_USERNAME argv=/path/to/my/shell/script ${sender} ...


2

If you want distinct myhostname then you may interested in Postfix Multipe Instance, see the official documentation here. With this feature, each instance will get one IP address and one myhostname parameter. And because the default value of smtp_helo_name was myhostname, then your helo name should match your myhostname. For example, you have two ...


1

The message "... is not yet authorized to deliver mail from ..." is similar to a greylist implementation described in Adding Greylisting Support. If the destination server implement similar script, you can send your mail by flushing your queue to retry sending soon. $ postqueue -f The greylist implementation works as follows; If a mail come from an ...


1

-o myhostname=abc not much important. To affect HELO You must override -o smtp_helo_name=abc Values configured in main.cf has complex inheritance, but it work only on main.cf loading. When You override some parameters latter, You need override all necessary. For now, I dont know how to force postfix to send mail from domain over correct worker, But I think ...


3

I can see two obvious solutions. If you are using procmail as the MDA on your server, or are willing to convert to using it, then you can run any arbitrary script on any arbitrary email through procmail's | (pipe) recipe action. It hopefully won't be started as root, but it should be easy to make a script that performs the required magic and which can be ...


2

Using a browser add-on is one option, if you've got your browser open doing something anyway. Or a desktop panel app could notify you when new mail arrives. Like "Xfce4 Mailwatch Plugin" (if you're using XFCE, or like it, can do multiple inboxes) or "gnome-gmail-notifier", there should be several available from searching the repositories for "gmail". Or ...


0

Postfix is an SMTP server (and client, since it does relaying) and local delivery agent (to directories, mailbox files, etc). mailx is a client for a variety of mail protocols and can access local mail in a variety of storage formats. But if you want to be able to access your mail with the IMAP protocol (a communication protocol designed specifically for ...


1

Unless you have a specific requirement to move your mail store; simply restore the configuration to the defaults. That setup stores your emails in /var/spool/mail/<username> instead of your home which means any MUA you install will know where to find it without any reconfiguration.


1

In main.cf I changed the line mydestination = $myhostname localhost.$mydomain $mydomain into the line mydestination = $myhostname localhost.$mydomain $mydomain example.ru Now everything seem to work fine. However, if someone knows what the actual cause of the problem is, please enlighten us!


1

Change MAIL=/home/root/Maildir to MAIL=/root/Maildir


1

If you are just testing the plumbing, then using mail/sendmail from the command line will work fine (as will telnet localhost 25). If you are not getting that mail, check /var/log for errors and post those for help resolving. If you actually want to send and receive email from the command line then you need a Mail User Agent (MUA) not a Mail Transfer Agent ...


2

There are over 100 packages which depend on or recommend mail-transport-agent. but one of these is real annoying that is the lsb-core package. In most cases when you have a package that depends on mail-transport-agent you really need a mail transport agent, but many packages that depend on lsb-core don't. That is why there is lsb-invalid-mta. This package is ...


2

One of your installed packages depends on installed MTA. This is most likely cron. You can view why a package (or meta package) is installed with aptitude: aptitude why mail-transport-agent


0

Solved. Thanks for all your suggestions. The problem was connected to Name Servers, and after all they now correctly resolve names.


1

In general you shouldn't have to manipulate maildir directly. Maildir is not only a directory tree with files but also a set of indexes and other supplementary files. When you create the file in the ./new subdir you, at least, have to recreate the index of corresponding folder. Recommended way is to use doveadm utility to create folders an subfolders as ...


1

Question: How could I establish a connection to my computer? Or at least, how would I go saving all emails to another server I would say you're hosed on getting into your system. Saving emails? Well may sound ridiculous but just change your public DNS MX record and point to a new VM that you can run on your laptop or other place. Of course, normal ...


2

The key is here: failed: Permission denied (euid=1001(newusername) egid=1001(newusername) missing +w perm: /home/newusername, dir owned by 0:0 mode=0755 Dovecot is trying to write to /home/newusername/{whatever your maildir is} as newusername:newusername, however, the directory is owned by user 0:0 (root). Because the permission mode is 755, only the owner ...


0

Many thanks, combining both answers did the job. mapfile -t addr < /home/user/address-file #(one email address per line) echo "$(cat < /home/user/information-for-any-user)" | mail -s "My subject" "${addr[@]}" Cheers


3

You can provide multiple address on the mail command. assume there are no glob chars in the flat file, and the email addresses are separated by any whitespace: echo "Mail test..." | mail -s "Mail test subject..." $(< address.file) read the newline-separated list of addresses into a bash array mapfile -t addr < address.file echo "Mail test..." | ...


2

If the "external flat file" from which the email addresses are taken from doesn't look too funny (is well formatted), you could use something like that : mail -s "My subject" $(cat /this/is/the/external/flat/file.txt) < /home/user/information-for-any-user.txt


0

The mail might not be going through due to your ISP. This might help: My ISP imposes SMTP restrictions on outgoing mail, is it possible to configure a system wide SMTP address? If still a problem, I would recommend you use some other methods instead of mail.



Top 50 recent answers are included